package com.quwancode.springbootmysql.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author chuck
 * @since 2023-12-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("student")
public class Student implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 学号
     */
    @TableId(value = "student_id", type = IdType.ASSIGN_ID)
    private String studentId;

    /**
     * 姓名
     */
    @TableField("Sname")
    private String Sname;

    /**
     * 年龄
     */
    @TableField("Sage")
    private Integer Sage;

    /**
     * 性别
     */
    @TableField("Ssex")
    private String Ssex;

    /**
     * 所在院系
     */
    @TableField("Dept_id")
    private Integer deptId;

    /**
     * 所在班级
     */
    @TableField("Sclass")
    private String Sclass;


}
